/*
 * @Description: UI全局注册
 * @Author: HuiSir<273250950@qq.com>
 * @Date: 2021-11-03 17:24:53
 * @LastEditTime: 2025-08-08 10:36:05
 */
import { App } from "vue";
import ElementPlus from "element-plus";
import locale from "element-plus/es/locale/lang/zh-cn";
import Svgs from "./svgs";
import Fy from "./fy";
import "./styles/rewrite.scss";

/* 如下快捷导出方便外部使用 */
export * from "./fy/types";
export * from "./helpers";
export * from "./helpers/constant";
export * from "./helpers/predefined";

/* 这里ElementPlus使用完整导入，方便扩展 */
export default (app: App) =>
  app
    .use(ElementPlus, { locale, zIndex: 3000, size: "default" })
    .use(Svgs)
    .use(Fy);
